#include "typedef.h"

#ifndef _KUAI_CONST_H_
#define _KUAI_CONST_H_

namespace kuai {

	extern const uint16_t SIZE_OF_REAL_NUMBER;
	extern const uint16_t SIZE_OF_ATOM_INDEX;

	extern const RealNumber PI;
	extern const RealNumber LARGE_NUMBER;

	inline RealNumber deg2rad(RealNumber deg) {
		return PI / 180 * deg;
	}
	inline RealNumber rad2deg(RealNumber rad) {
		return 180 / PI * rad;
	}

}

#endif
